import numpy as np
import cv2
##画线
x=50
y=50
r=20
canvas=np.ones((400,400,3),np.uint8)*255  #画布
# canvas=cv2.line(canvas,(50,50),(250,50),(255,0,0),5)
# canvas=cv2.line(canvas,(50,150),(250,150),(255,0,0),10)
# canvas=cv2.line(canvas,(50,250),(250,250),(255,0,0),15)
# canvas=cv2.line(canvas,(150,50),(150,250),(255,0,0),20)
cv2.circle(canvas,(x,y),r,(255,0,0),-1)
print(canvas)
cv2.imshow('aaa',canvas)
cv2.waitKey(5000)
cv2.destroyAllWindows()